home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Development / Information / alt-sources-mac-digest-94-04.tx < prev    next >
Internet Message Format  |  1994-06-09  |  25KB

  1. Date: Fri, 01 Apr 1994 15:43:49 -0600
  2. From: dnebing@andy.bgsu.edu (Dave Nebinger)
  3. Subject: Alt.sources.mac Digest #4
  4.  
  5. alt.sources.mac digest #4-94                      4/1/94
  6.  
  7. Today's Contents:
  8.  
  9.   [!] administrivia
  10.  
  11.   [*] backinuse.cpt.hqx
  12.   [*] cwjumptable.cpt.hqx
  13.   [*] findiconlib.cpt.hqx
  14.   [*] fontshow1.1.2.cpt.hqx
  15.   [*] fractarcontours.cpt.hqx
  16.   [*] gammafadelib.cpt.hqx
  17.   [*] glypha3.cpt.hqx
  18.   [*] glypha3.1.cpt.hqx
  19.   [*] mycard.cpt.hqx
  20.   [*] pictbuttoncdef.cpt.hqx
  21.   [*] popupcdef1.0b3.cpt.hqx
  22.   [*] progresscdef1.0.cpt.hqx
  23.   [*] progresscdef1.1.cpt.hqx
  24.   [*] stellaobscura.cpt.hqx
  25.   [*] textdim.cpt.hqx
  26.   [*] threadlib.cpt.hqx
  27.   [*] tonedialer.cpt.hqx
  28.   [*] trenchsim.cpt.hqx
  29.   [*] updnarrowcdef.cpt.hqx
  30.   [*] updncntl.cpt.hqx
  31.   [*] updncntl2.cpt.hqx
  32.  
  33.   [#] adjwindfkey
  34.   [#] appletalktoggle
  35.   [#] findfullpath
  36.   [#] fswritete
  37.   [#] getfindericon
  38.   [#] loadcoderes
  39.   [#] loadcoderes2
  40.   [#] mycopybits
  41.   [#] paslibinsymc
  42.   [#] polymaze
  43.   [#] pswdfilter
  44.   [#] queenxlisp
  45.   [#] strptime
  46.   [#] timezonestuff
  47.   [#] tokenizer
  48.     
  49.   [!] Who's Who List
  50.   
  51.   The alt.sources.mac archive is at ftpbio.bgsu.edu
  52. (129.1.252.66) in the /ftp/pub/alt.sources.mac directory.  
  53. Files listed with an [*] before them are in the main
  54. directory.  Files listed with an [#] in front of them
  55. are in the /ftp/pub/alt.sources.mac/00snippet directory.
  56. Scripts are stored in the /ftp/pub/alt.sources.mac/scripts
  57. directory.
  58.  
  59.   Also stored at the archive site are the FAQs for the
  60. Mac newsgroups in the /ftp/pub directory.  Postings to
  61. comp.sources.mac are archived in the /ftp/pub/comp.sources.mac
  62. directory.  The alt.sources.mac digests are archived in the
  63. /ftp/pub/digests directory.
  64.  
  65.   The alt.sources.mac newsgroup is for the distribution of
  66. sources only.
  67.  
  68. ************************************************************
  69.  
  70. From: dnebing@andy.bgsu.edu (Dave Nebinger)
  71. Subject: Administrivia
  72.  
  73.   Welcome to the alt.sources.mac digest.  Currently, I am
  74. the moderator of the archive.  I thought I would post this
  75. message to show everyone what has been accumulating at the
  76. archive site.
  77.  
  78.   Your contributions are highly recommended and accepted.
  79. If you don't have access to the alt.sources.mac newsgroup,
  80. you can email your contribution to me (dnebing@andy.bgsu.edu)
  81. and I will add it to the archive, or you can upload it to
  82. the /ftp/pub/incoming directory at the archive site.
  83.  
  84.   I would also recommend to those programmers posting
  85. snippets to the comp.sys.mac.* heirarchy to also crosspost
  86. them to the alt.sources.mac group so that I can make sure
  87. that it gets added to the archive.
  88.  
  89.   If anything is missing from the archive that you feel should
  90. be in there, let me know.  I am hoping to make the archive the
  91. largest Mac/PPC source code site around...
  92.  
  93.   Thanks for your support, and if you have any questions,
  94. problems, or maladjustments, feel free to email me.  Also, let
  95. me know if you have any problems accessing the archive.  The only 
  96. way I can fix things is if I am told... ;-)
  97.  
  98.   Dave Nebinger (dnebing@andy.bgsu.edu)
  99.   
  100. ************************************************************
  101.  
  102. From: kenlong@netcom.com (Ken Long)
  103. Subject: BackInUse (C)
  104.  
  105. This is an old source I found on BMUG and updated to run on Think C.
  106.  
  107. It draws a 6 point poly, but not by the usual method, then insets the 
  108. points a certain amount and redrawing until it gets to nothing.  Then 
  109. erases and starts over.  All B/W.  It was called "InUse" hence the name.  
  110. It was intended as a screen saver (InUse meaning not in use, or idle).
  111.  
  112. Enjoy!
  113.  
  114. -Ken-
  115.  
  116. [archived as: /ftp/pub/alt.sources.mac/backinuse.cpt.hqx]
  117. ============================================================
  118.  
  119. From: arentz@batcave.knoware.nl (Stefan Arentz)
  120. Subject: CWJumpTable.txt
  121.  
  122. CWJumpTable - Written by Stefan Arentz, 17/03/94
  123.  
  124. This Macsbug extension dumps the Jump table of an application that was
  125. build with CodeWarrior C/C++ or Pascal (for 68K of course). It seems that
  126. CodeWarrior doesn't use the standard jump table as described in Inside Mac,
  127. so I wrote this dcmd. Codewarrior is still under development, so things
  128. could change...
  129.  
  130. Happy MacHacking,
  131.  
  132.  -- Stefan Arentz, arentz@knoware.nl
  133.  
  134. [archived as: /ftp/pub/alt.sources.mac/cwjumptable.cpt.hqx]
  135. ============================================================
  136.  
  137. From: walkerj@math.scarolina.edu (Jim Walker)
  138. Subject: FindIcon 3/26/94 library (C)
  139.  
  140. These routines find an icon family for an arbitrary object in the
  141. Mac file system.  It is intended to be the same icon displayed by
  142. the Finder, but there are a bunch of exceptions and I can't swear
  143. I found them all. (Still not done: icons from old-style Desktop
  144. files.) THINK C source code.  Assumes recent Apple headers, possibly more
  145. recent than those supplied by Symantec.
  146.  
  147. Freeware by James W. Walker.
  148.  
  149. [archived as: /ftp/pub/alt.sources.mac/findiconlib.cpt.hqx]
  150. ============================================================
  151.  
  152. From: kenlong@netcom.com (Ken Long)
  153. Subject: FontShow1.1.2
  154.  
  155. This is a font display/printing project.  I found the .c and .h files on 
  156. the net, but no .rsrc.  but I found a built app. somewhere and got it 
  157. running.
  158.  
  159. Not extensively tested by me - just checked a few normal aspects of it 
  160. and it seemed fine on my LC.
  161. A 1989 project by Rainer Fuch.
  162.  
  163. -Ken-
  164.  
  165. [archived as: /ftp/pub/alt.sources.mac/fontshow1.1.2.cpt.hqx]
  166. ============================================================
  167.  
  168. From: kenlong@netcom.com (Ken Long)
  169. Subject: Fractar Contours (C)
  170.  
  171. This is an old B/W fractal program.  Very primative and simple.  I got it 
  172. running on My LC in Think C, but that's as far as I took it.
  173.  
  174. Enjoy!
  175.  
  176. -Ken-
  177.  
  178. [archived as: /ftp/pub/alt.sources.mac/fractarcontours.cpt.hqx]
  179. ============================================================
  180.  
  181. From: Matt Slot <fprefect@engin.umich.edu>
  182. Subject: Gamma Fading Library (THINK C)
  183.  
  184. This library is intended as a general tool for manipulating the Gamma
  185. Tables
  186.     of Graphics Devices, to ramp them up or down in order to achieve smooth
  187.     screen fades. The source is included for programmers who want to convert
  188.     the library to A4-based, but it is not commented for public consumption.
  189. The library defines 2 globals to save state data, but the entire Table 
  190.     manipulation is performed with unlocked handles to be easy on your heap.
  191.     The typical memory chunk is about 600 bytes for a 13" Monitor in 8-bit 
  192.     depth, or about 1700 bytes for one in 24-bit color. Usage will vary.
  193. Of course, the Classic Mac cannot use Gamma Fades, only Mac II or later
  194. machines
  195.     with attached monitors. (I don't know about the Color Classic tho'!).
  196. Also,
  197.     GDevice manipulation needs to follow InitGraf() & InitWindows() calls.
  198. Please use the listed functions to see if you can use this code before you
  199. set
  200.     it up. As usual, this stuff is not warranteed, guaranteed, or anything--
  201.     use it at your own risk. It is not Apple-recommended for anything, but it
  202.     worked for me, so there!
  203.  
  204. Matt Slot, fprefect@engin.umich.edu
  205.  
  206. [archived as: /ftp/pub/alt.sources.mac/gammafadelib.cpt.hqx]
  207. ============================================================
  208.  
  209. From: kenlong@netcom.com (Ken Long)
  210. Subject: Glypha.3.pas
  211.  
  212. This is John Calhoun's B/W Glypha Pascal source.  C programmers should 
  213. get this one because there's an excellent illustrated info sheet in the 
  214. file on copying bits and masks.
  215.  
  216. I downloaded this a year ago, but haven't seen it on the net - so here it
  217. is!
  218.  
  219. -Ken-
  220.  
  221. [archived as: /ftp/pub/alt.sources.mac/glypha3.cpt.hqx]
  222. ============================================================
  223.  
  224. From: kenlong@netcom.com (Ken Long)
  225. Subject: GlyphII.1.1.pas
  226.  
  227. This is the color version of John Calhoun's Glypha (Pascal source).  It's 
  228. a 640x480 monitor or bigger program.
  229.  
  230. -Ken-
  231.  
  232. [archived as: /ftp/pub/alt.sources.mac/glypha3.1.cpt.hqx]
  233. ============================================================
  234.  
  235.  [Moderator's note: the color patches posted to alt.sources.mac have been
  236.   included in this archive (I really hate sites where you have to look all
  237.   over the place for patches!)]
  238.   
  239. From: kenlong@netcom.com (Ken Long)
  240. Subject: MyCard (C)
  241.  
  242. More simple than a pimple!  All this does is put up an about box, from 
  243. scratch except for the 'ICN#' it uses, that resembles a business card.  
  244. When you click, it exits.
  245.  
  246. It uses a dotted zoomRect - similar to the Finder's - which appears to 
  247. come out of the Apple Menu, heads for center of the screen, keeps on 
  248. zoomin' to size, then the "card" materializes (if that's possible in 
  249. CyberSpace) within it.  Kinda cool - so I decided to pass it along.
  250.  
  251. Got it from some old C source project I've been updating. More on that
  252. later.
  253.  
  254. The actual built app. is very small.  You could make them "Your Card" and 
  255. use them for "business cards" to introduce yourself via e-mail.
  256.  
  257. Maybe someone will modify it to show color icons.  I could do it if I 
  258. wanted to fiddle with it some more, but the program it came from is a 
  259. higher priority.  It would be easy and quick to do, at any rate.
  260.  
  261. Send "your card" with your e-mail address as the filename?
  262.  
  263. Enjoy!
  264.  
  265. -Ken-
  266.  
  267. [archived as: /ftp/pub/alt.sources.mac/mycard.cpt.hqx]
  268. ============================================================
  269.  
  270. From: kenlong@netcom.com (Ken Long)
  271. Subject: PICT-ButtonCDEF (C)
  272.  
  273. Nothing unusual or spectacular about this CDEF.  Just another picture 
  274. button control.  But if you dump the ones with the labels, the "real" 
  275. picture one can be used as the basis for any number of picture button 
  276. needs.  I've used it for tool palettes and tool bars.  You just need to 
  277. change the sizes and the pictures and the 'CNTL' res.
  278.  
  279. Vet. programmers already know this, though.
  280.  
  281. -Ken-
  282.  
  283. [archived as: /ftp/pub/alt.sources.mac/pictbuttoncdef.cpt.hqx]
  284. ============================================================
  285.  
  286. From: ari@world.std.com (Ari I Halberstadt)
  287. Subject: PopupCDEF-10b3-c.hqx (part 1 of 2)
  288.  
  289. This is version 1.0b3 of Popup CDEF. It fixes some bugs and has
  290. slightly better support for menus created by the application. This
  291. document is also new with version 1.0b3, and a new application is
  292. provided to demonstrate the different types of popup menus that can be
  293. created with this CDEF. Finally, a few extra features were added, such
  294. as support for the popupFixedWidth variation code.
  295.  
  296. This CDEF implements a popup menu control. The CDEF handles display of
  297. the menu's title, the current selection, the one pixel drop shadow,
  298. and the down arrow at the end of the menu. It also handles tracking of
  299. the mouse and checking and unchecking of the current item. It is
  300. compatible with systems 6.0.5 and 7.0.
  301.  
  302. The CDEF is modeled after the popup CDEF provided by Apple in System
  303. 7.0 and described in IM-VI, p3-16 to 3-19. If you are already familiar
  304. with that CDEF then using this CDEF will be very simple. Additional
  305. support is provided for type-in popup menus and for menus created
  306. dynamically by the application.
  307.  
  308. PopupCDEF is free, and includes complete source code in C and THINK C
  309. 5.0.4 project files.
  310.  
  311. [archived as: /ftp/pub/alt.sources.mac/popupcdef1.0b3.cpt.hqx]
  312. ============================================================
  313.  
  314. From: egurney@vcd.hp.com (Eddy J. Gurney)
  315. Subject: Progress Bar CDEF (CDEF, C source, test app)
  316.  
  317. Attached is a compressed archive which contains the following:
  318.  
  319.  . Progress Bar CDEF
  320.  . THINK C 6 source to Progress Bar CDEF
  321.  . THINK C 6 project file to make Progress Bar CDEF
  322.  . a sample application demonstrating the CDEF
  323.  . THINK C 6 source to the demo app
  324.  . Resources necessary to use the demo app
  325.  . THINK C 6 project file to make the demo app
  326.  
  327. It allows your app to provide a Progress Bar by simply adding a "CNTL"
  328. item to any diaog, and then calling SetCtlValue() from your program. It
  329. even has a bonus feature: If the CNTL's RefCon is '0' (it is by default),
  330. then the standard Finder "Progress Bar" colors are used. If the CNTL's
  331. RefCon is non-zero, then the custom colors in the CNTL's corresponding
  332. 'cctb' resource are used to draw the frame, "done" portion, and "to do"
  333. portion. (This is described in a little more detail in the source file.)
  334.  
  335. It even works correctly with a Color QuickDraw Mac in 1-bit mode. (See
  336. the comments in the source for more details. :-)
  337.  
  338. This is my first "released" CDEF. Therefore it is guaranteed to be
  339. 100% bug-free. BIG 8-) (It has been tested as rigorously as possible;
  340. however, I haven't tried it on a machine without Color QuickDraw.)
  341.  
  342. E-mail comments, suggestions, requests to: egurney@vcd.hp.com
  343.  
  344. [archived as: /ftp/pub/alt.sources.mac/progresscdef1.0.cpt.hqx]
  345. ============================================================
  346.  
  347. From: egurney@vcd.hp.com (Eddy J. Gurney)
  348. Subject: Update: Progress CDEFs (CDEF, TC6 source, test app)
  349.  
  350. This is an update to my "Progress Bar CDEF" I posted a couple days
  351. ago.  The demo application (included) shows a horizontal progress
  352. bar, a verical progress bar that looks like a thermometer, and a
  353. progress arc, so you can "dare to be different". :-)
  354.  
  355. Attached is a compressed archive which contains the following:
  356.  
  357.  . Progress Bar CDEF v1.2, THINK C 6 source, TC6 project file
  358.  . Progress Arc CDEF v1.0, THINK C 6 source, TC6 project file
  359.  . Demo application, THINK C 6 source, resource file, TC6 project file
  360.  
  361. These CDEFs allow your app to provide a progress indicator by simply
  362. adding a "CNTL" item to any dialog, and then calling SetCtlValue()
  363. from your program.  It has a bonus feature: if the CNTL's variation
  364. code is "1", then the custom colors in the CNTL's corresponding 'cctb'
  365. resource are used to draw the frame/"done"/"to do" areas.  If the
  366. variation code is "0", the standard "Finder progress bar" colors are
  367. used.  (This is described in the source file in a little more detail.)
  368.  
  369. The color progress bars should work just fine on Color QuickDraw Macs
  370. in 1-bit mode.  (See the comments in the source for more details. :-)
  371.  
  372. Change log:
  373.  
  374. 1.1: First public release
  375. 1.2 changes:
  376.      . Call StripAddress() instead of &'ing off the lower 3 bytes
  377.           in calcCRgns (thanks Dave Polaschek).
  378.      . Now determine whether or not to use custom colors via the
  379.           variation code (thanks Steve LoBasso)
  380.      . Added capability to do vertical progress bars for 
  381.           "thermometers". If the progress bar rectangle is taller than
  382.           it is wide, then the progress bar will fill "up" instead of
  383.           "across".
  384.      . Fixed a bug that prevented proper drawing when a control had
  385.           a non-zero minimum.
  386.  
  387. E-mail comments, suggestions, requests to: egurney@vcd.hp.com
  388.  
  389. [archived as: /ftp/pub/alt.sources.mac/progresscdef1.1.cpt.hqx]
  390. ============================================================
  391.  
  392. From: kenlong@netcom.com (Ken Long)
  393. Subject: Stella Obscura.pas
  394.  
  395. The final John Calhoun source installment: Stella Obscura.  The 
  396. stereoscopic (3-D) space arcade game.
  397.  
  398. -Ken-
  399.  
  400. [archived as: /ftp/pub/alt.sources.mac/stellaobscura.cpt.hqx]
  401. ============================================================
  402.  
  403. From: jwwalker@aol.com (JWWalker)
  404. Subject: Text Item Dimming Source Code (C) v. 1.1
  405.  
  406. C source code for dimming text items (editText or statText) in dialogs. 
  407. When
  408. dimmed, editText items become uneditable.  True gray is used when possible.
  409.  
  410. Dimmed items update correctly, and no extra dialog items are needed.
  411.  
  412. By James W. Walker.
  413.  
  414. V. 1.1 fixes a few bugs and is modified for use with the universal headers.
  415.  
  416. [archived as: /ftp/pub/alt.sources.mac/textdim.cpt.hqx]
  417. ============================================================
  418.  
  419. From: ari@world.std.com (Ari I Halberstadt)
  420. Subject: ThreadLib-10d4-c.hqx (part 1 of 3)
  421.  
  422. Many changes have been made from Thread Library 1.0d2 (the last fully
  423. public release). This version fixes several bugs and improves the
  424. internal operation of the Thread Library. See the "Version History"
  425. file for a complete version history.
  426.  
  427. Thread Library implements nonpreemptive multiple thread execution
  428. within a single application. It does not require any extensions,
  429. should work with all Macintosh models (from the Plus on up), and works
  430. with systems 6.0 (tested on 6.0.5) under Finder or MultiFinder, and
  431. system 7.0. Thread Library compiles into a small library of around 2K,
  432. so it won't add much overhead to your application. A simple test
  433. application and THINK C project demonstrate how threads are used.
  434. Another simple test application compares the speed of Thread Library
  435. with the speed of Apple's Thread Manager. (Thread Library is 2-3 times
  436. faster!) Best of all, the source code, entirely in C, is free.
  437.  
  438. Every thread has its own stack, and there are no restrictions on the
  439. objects that can be allocated on a thread's stack. All other global
  440. application data are shared by the threads. Context switches are very
  441. efficient since they involve only a few operations to save the current
  442. thread's state, followed by a longjmp to the new thread, and a few
  443. instructions to restore the thread's state.
  444.  
  445. Thread Library was written using THINK C 5.0.4. Some minor changes may
  446. be needed to port it to other compilers. All suggestions and enhancements
  447. are welcome.
  448.  
  449. [archived as: /ftp/pub/alt.sources.mac/threadlib.cpt.hqx]
  450. ============================================================
  451.  
  452. From: Wayne K. Walrath (walrath@moose.cs.indiana.edu)
  453. Subject: Tone Dialer Source
  454.  
  455.         Dialer
  456.         (C) 1994 Wayne K. Walrath
  457.  
  458.  
  459.         Sample Source code for generating touch
  460.         tones through the Mac's speaker.
  461.  
  462.  
  463.  
  464. I threw this program together to test some code I translated from Pascal
  465. to C, and decided to clean it up and send it to the archives since there
  466. is always someone looking for tone dialing code. This was a three hour
  467. hack, so don't expect too much from it; least of all elegant code.
  468.  
  469. The original Pascal source comes from DTS Tech Note TB 570 Sound Manger
  470. Q&As. The author of the original Pascal source asked to be remembered
  471. for all the headaches he suffered putting the snippet together, but
  472. since his name doesn't appear anywhere in the TN, I'm unable to thank
  473. him by name. Cheers to the unknown DTS'er!
  474.  
  475. I wrapped the tone dialing code inside the Zooming Windows source from
  476. "Macintosh Programming Secrets" by Keith Rollin and Scott Knaster. The
  477. source from MPS are available in all the usual Mac archives (like Sumex
  478. and Umich). Definately a great book!
  479.  
  480. You may use portions of this code anyway you like, but you may not
  481. charge money for the code as is. If you do something interesting with
  482. it, I would enjoy hearing about it.
  483.  
  484. I welcome all comments and bug reports, though I'm not making
  485. any promises of support for the Dialer. It was only intended to be a
  486. learning tool. The author (that's me) accepts no liability for any
  487. damage or loss of data caused by the use of this program.
  488.  
  489. I can be reached at the following addresses:
  490.         walrath@moose.cs.indiana.edu
  491.         AppleLink:    wkw.rfe
  492.         Compuserve: 73243,3303
  493.  
  494. 1 Mar 1994
  495. Wayne Walrath
  496.  
  497. [archived as: /ftp/pub/alt.sources.mac/tonedialer.cpt.hqx]
  498. ============================================================
  499.  
  500. From: kenlong@netcom.com (Ken Long)
  501. Subject: Trench Sim (C)
  502.  
  503. An old MegaMax C source (1985) I got off the net and made to run on Think
  504. C.
  505.  
  506. I built the app. and tried to run it but got a type 4 error.  MacsBug 
  507. said where it was, so I changed the divisor to 10000.  May not be proper 
  508. but it worked.  I'm still learning.
  509.  
  510. All this does is draw 6 perspective lines, giving the idea of the 
  511. "trench" on the Death Star, in Star Wars, then it changes their angles 
  512. wint mouse movement, so the viewpoint moves within the "trench."  Of 
  513. course, the original was done on a 512, so with a bigger monitor in may 
  514. not operate as intended.  But HEY!  It's C source!
  515.  
  516. Enjoy!
  517.  
  518. kenlong@netcom.com
  519.  
  520. [archived as: /ftp/pub/alt.sources.mac/trenchsim.cpt.hqx]
  521. ============================================================
  522.  
  523. From: hay@cs.colorado.edu (David J. Hay)
  524. Subject: UpDownArrow (C)
  525.  
  526. This is a project I put together in an effort to improve Eddy Gurney's
  527. code by making the arrow more modular. It uses a set of four PICT
  528. resources to draw the arrow, so the arrow can look however you like.
  529. It was written in THINK C 5.0.4, but I suspect it shouldn't take many
  530. modifications to run under other environments.
  531.  
  532. The Arrow Control may be used freely, without any restrictions. I do
  533. ask that you let me know of any improvements you make to the code or
  534. (gasp! :) bugs you might find by e-mailing me at <hay@cs.colorado.edu>
  535.  
  536. --David--
  537.  
  538. [archived as: /ftp/pub/alt.sources.mac/updnarrowcdef.cpt.hqx]
  539. ============================================================
  540.  
  541. From: egurney@vcd.hp.com (Eddy J. Gurney)
  542. Subject: UpDownArrowTester Source
  543.  
  544. Here's an old program of mine (just now converted it to a Think C 6.0.1
  545. project) that I wrote when I was first learning to program the Mac.
  546. It attempts to implement the "up/down arrow bumpers" commonly seen in
  547. the ColorPicker dialog. It's written completely as part of the event
  548. handler, so it's not a nice little compact CDEF or anything. It uses
  549. three PICT resources to represent the "off", "up" and "down" states, and
  550. features variable speed increment/decrement (ie., the longer you hold it
  551. down, the faster it goes, just like the ColorPicker, which as I said,
  552. I was using as a model.)
  553.  
  554. I'm not claiming this is the right way to do it (probably far from
  555. it!) but at least it's a start.  If anyone makes improvements, etc.
  556. let me know.  (I don't care about any bugs in the "Tester" portion
  557. of the code, just the part that handles the up/down arrows, which
  558. is all I really cared about testing!)
  559.  
  560. If someone has a better implementation, I'd love to see it.
  561.  
  562. Regards,
  563. Eddy
  564.  
  565. [archived as: /ftp/pub/alt.sources.mac/updncntl.cpt.hqx]
  566. ============================================================
  567.  
  568. From: kenlong@netcom.com (Ken Long)
  569. Subject: UpDownArrows II
  570.  
  571. This is just Eddy Gurney's "Color Picker type" arrow project with a 
  572. couple modified version I did, with color buttons.  I added two color 
  573. button 'PICT' sets - one is a colorized version of the B/W ones, and one 
  574. is the Mac window scroll arrows.
  575.  
  576. I figured as long as there's a 'dctb' res., may as well have color on the 
  577. buttons - what the hey!
  578.  
  579. -Ken-
  580.  
  581. [archived as: /ftp/pub/alt.sources.mac/updncntl2.cpt.hqx]
  582.  
  583. ************************************************************
  584.  
  585. adjwindfkey     FKEY source which adjusts a window
  586.   Matt Mora (mxmora@unix.sri.com)
  587.   FKEY source in C for adjusting a window.
  588.   
  589. appletalktoggle Assembler source to toggle AppleTalk
  590.   Charles B. Cranston (zben@ni.umd.edu)
  591.   Assembler source (well commented) for turning AppleTalk
  592.   on and off.
  593.   
  594. findfullpath    Finding a pathname from a directory id
  595.   Michael A. Walker (walkerm@acf2.nyu.edu)
  596.   C function to determine the pathname from a directory id.
  597.   
  598. fswritete       Using FSWrite with a TERec
  599.   Chuck Hoffman (chuck@gte.com)
  600.   Using text from a TERec structure with FSWrite.
  601.   
  602. getfindericon   Finding the Finder's icon
  603.   E.J. Draper (utmdacc@odin.mda.uth.tmc.edu)
  604.   C snippet using PBDTGetIcon to get the Finder's icon.
  605.   
  606. loadcoderes     Loading and calling a code resource
  607.   Kevin R. Boyce (boyce@lheavx.gsfc.nasa.gov)
  608.   C snippet for loading and calling a code resource.
  609.   
  610. loadcoderes2    Loading and calling a code resource
  611.   Mark Hanrek (markhanrek@aol.com)
  612.   Another example for loading and calling a code resource.
  613.   
  614. mycopybits      Code and explanation for copybits
  615.   Eric Johnson (ejohnson@netcom.com)
  616.   Assembler code plus a long explanation for a faster
  617.   CopyBits.
  618.   
  619. paslibinsymc    Instructions for including Pascal libs
  620.   Ingemar Ragnemalm (ingemar@lysator.liu.se)
  621.   Instructions for including Think Pascal libraries in
  622.   Symantec C/C++ projects.
  623.   
  624. polymaze        Code for a maze routine
  625.   Ken Long (kenlong@netcom.com)
  626.   Replacement routine for the PolyMaze program that uses
  627.   predefined colors.
  628.   
  629. pswdfilter      Password dialog filter routine
  630.   Peter N Lewis (peter@ncrpda.curtin.edu.au)
  631.   Pascal filter routine for password dialog boxes.
  632.   
  633. queenxlisp      Algorithm for placing queens
  634.   Jean-Yves Terrien (terrien@cenatls.cena.dgac.fr)
  635.   Lisp routine for placing n queens on a chess board.
  636.   
  637. strptime        Generic strptime routine
  638.   Kevin Ruddy (smiles@powerdog.com)
  639.   'strptime' code from un*x boxes.
  640.   
  641. timezonestuff   Info for accessing time zone info
  642.   Pete Resnick (resnick@cogsci.uiuc.edu)
  643.   Info & code for accessing the Mac's time zone setting
  644.   
  645. tokenizer       Using hidden ScriptMgr tokenizer
  646.   Matthew Xavier Mora (mxmora@unix.sri.com)
  647.   Code displaying the use of the Script Manager's hidden
  648.   tokenizing function.
  649.   
  650. ************************************************************
  651.  
  652. Who's Who in Digest #4...
  653.  
  654. The contributors to this digest are:
  655.  
  656. Stefan Arentz (arentz@batcave.knoware.nl)
  657. Kevin R. Boyce (boyce@lheavx.gsfc.nasa.gov)
  658. Charles B. Cranston (zben@ni.umd.edu)
  659. E.J. Draper (utmdacc@odin.mda.uth.tmc.edu)
  660. Eddy J. Gurney (egurney@vcd.hp.com)
  661. Ari I Halberstadt (ari@world.std.com)
  662. Mark Hanrek (markhanrek@aol.com)
  663. David J. Hay (hay@cs.colorado.edu)
  664. Chuck Hoffman (chuck@gte.com)
  665. Eric Johnson (ejohnson@netcom.com)
  666. Peter N Lewis (peter@ncrpda.curtin.edu.au)
  667. Ken Long (kenlong@netcom.com)
  668. Matthew Xavier Mora (mxmora@unix.sri.com)
  669. Ingemar Ragnemalm (ingemar@lysator.liu.se)
  670. Pete Resnick (resnick@cogsci.uiuc.edu)
  671. Kevin Ruddy (smiles@powerdog.com)
  672. Matt Slot (fprefect@engin.umich.edu)
  673. Jean-Yves Terrien (terrien@cenatls.cena.dgac.fr)
  674. JW Walker (jwwalker@aol.com)
  675. Jim Walker (walkerj@math.scarolina.edu)
  676. Michael A. Walker (walkerm@acf2.nyu.edu)
  677. Wayne K. Walrath (walrath@moose.cs.indiana.edu)
  678.  
  679. ============================================================
  680. Dave Nebinger                    dnebing@andy.bgsu.edu
  681. Network Manager, Biology Dept.   dnebing@opie.bgsu.edu
  682. Bowling Green State University   dnebing@bgsuopie (bitnet)
  683. Bowling Green, OH 43403          #include <std_disclaimer.h>
  684.  
  685.